public class ActivitySelectionProblem {
    static class Activity{
        int index;
        int start;
        int finish;

        public Activity(int index, int start, int finish) {
            this.index = index;
            this.start = start;
            this.finish = finish;
        }
    }
    public static void main(String[] args) {
        Activity[] activities=new Activity[]{
                new Activity(1,2,4),
                new Activity(2,3,5),
                new Activity(0,1,3)
        };
        System.out.println();
    }

}
